﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace LuShanTea.Admin.Web.Models
{
    public class CateGoryAddModel
    {
        [Required]
        [StringLength(128)]
        [RegularExpression(@"^[\u4e00-\u9fa5]+$",ErrorMessage ="类别名只能是中文")]
        public string Name { get; set; }
    }
}